package com.qzuser.sendmessagebasic;

import com.qzuser.sendmessagebasic.server.Broker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication()
public class SendMessageBasicApplication {
    public static ConfigurableApplicationContext context;

    public static void main(String[] args) {
        context = SpringApplication.run(SendMessageBasicApplication.class, args);
        Broker broker = new Broker(9999);
        broker.start();
    }

}
